@layout("/common/_container.html"){
<div class="row">
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>内容管理</h5>
            </div>
            <div class="ibox-content">
                <div class="form-horizontal" id="contentInfoForm">

                    <input type="hidden" id="id" value="${content.id}">

                    <div class="row">
                        <div class="col-sm-6 b-r">
                            <#input id="companyName" name="公司名称" underline="true" value="${content.companyName}"/>
                        </div>
                        <div class="col-sm-6">
                            <#input id="tel" name="联系热线" underline="true" value="${content.tel}"/>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-sm-6 b-r">
                            <#input id="title" name="标题" underline="true" value="${content.title}"/>
                        </div>
                        <div class="col-sm-6 b-r">
                            <#input id="aboutUs" name="公司简介" underline="true" value="${content.aboutUs}"/>
                        </div>
                    </div>
                    <div  style="margin-left:150px;">
                        <label>导航列表：</label>
                        <ol>
                            @for(nav in content.navList){
                            <li class="navLi">
                                <div lass="col-sm-12">
                                    <input class="navId" hidden value="${nav.id}">
                                    <input class="navName" value="${nav.name}"/>
                                    <input class="navUrl" disabled value="${nav.url}"/>
                                    <input class="navSort" hidden value="${nav.sort}"/>
                                </div>
                            </li>
                            @}
                        </ol>
                    </div>
                    <div class="row">
                        <div class="col-sm-6 b-r">
                            <#input id="content1" name="内容1" underline="true" value="${content.content1}"/>
                        </div>
                        <div class="col-sm-6">
                            <#input id="content2" name="内容2" underline="true" value="${content.content2}"/>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-sm-6 b-r">
                            <#input id="content3" name="内容3" underline="true" value="${content.content3}"/>
                        </div>
                        <div class="col-sm-6">
                            <#input id="content4" name="内容4" underline="true" value="${content.content4}"/>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-sm-6 b-r">
                            <#input id="content5" name="内容5" underline="true" value="${content.content5}"/>
                        </div>
                        <div class="col-sm-6">
                            <#input id="content6" name="内容6" underline="true" value="${content.content6}"/>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-sm-6 b-r">
                            <#input id="content7" name="内容7" underline="true" value="${content.content7}"/>
                        </div>
                        <div class="col-sm-6">
                            <#input id="content8" name="内容8" underline="true" value="${content.content8}"/>
                        </div>
                    </div>

                    <div style="margin-left:200px;">
                        <div class="col-sm-10">
                            <#button btnCss="info" name="提交" id="ensure" icon="fa-check"
                            clickFun="ContentInfoDlg.editSubmit()"/>
                            <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser"
                            clickFun="ContentInfoDlg.close()"/>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/system/content/content_info.js"></script>
@}
